package com.data.permission.rule.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 条件信息表
 * </p>
 *
 * @author zhangbo
 * @since 2019-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("RULE_CONDITION_INFO")
@ApiModel(value="RuleConditionInfo对象", description="条件信息表")
public class RuleConditionInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "条件编号")
    @TableField("CONDITION_CODE")
    private String conditionCode;

    @ApiModelProperty(value = "条件名称")
    @TableField("CONDITION_NAME")
    private String conditionName;

    @ApiModelProperty(value = "规则编码")
    @TableField("RULE_CODE")
    private String ruleCode;

    @ApiModelProperty(value = "启用/停用标识，0：停用，1：启用")
    @TableField("IS_ENABLE")
    private String isEnable;

    @ApiModelProperty(value = "有效/无效标识，0：有效；1：无效")
    @TableField("DEL_IND")
    @TableLogic
    private String delInd;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建者")
    @TableField("CREATE_USER")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改者")
    @TableField("UPDATE_USER")
    private String updateUser;


}
